package com.fortune.dto.in.dStoreTrans;

import java.util.List;

import org.hibernate.validator.constraints.NotBlank;

import io.swagger.annotations.ApiModelProperty;

public class DStoreTransAddDto {
	@NotBlank(message="调库单单号不能为空")
	@ApiModelProperty(required=true, example="调库单单号")
	private String num;
	@NotBlank(message="调库单创建时间不能为空")
	@ApiModelProperty(required=true, example="调库单创建时间")
	private String createTime;
	@ApiModelProperty(example="调库单创建人ID")
	private String createUid;
	@NotBlank(message="调出库Id不能为空")
	@ApiModelProperty(required=true, example="调出库Id")
	private String outStore;
	@NotBlank(message="调入库id不能为空")
	@ApiModelProperty(required=true, example="调入库id")
	private String inStore;
	private List<DStoreTransAddDetailDto> list;
	public String getNum() {
		return num;
	}
	public void setNum(String num) {
		this.num = num;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getCreateUid() {
		return createUid;
	}
	public void setCreateUid(String createUid) {
		this.createUid = createUid;
	}
	public String getOutStore() {
		return outStore;
	}
	public void setOutStore(String outStore) {
		this.outStore = outStore;
	}
	public String getInStore() {
		return inStore;
	}
	public void setInStore(String inStore) {
		this.inStore = inStore;
	}
	public List<DStoreTransAddDetailDto> getList() {
		return list;
	}
	public void setList(List<DStoreTransAddDetailDto> list) {
		this.list = list;
	}
	@Override
	public String toString() {
		return "MStoreTransAddDto [num=" + num + ", createTime=" + createTime + ", createUid=" + createUid
				+ ", outStore=" + outStore + ", inStore=" + inStore + ", list=" + list + "]";
	}
}
